var express = require('express');
var router = express.Router();
var user=require('../controllers/usercontroller')
// /* GET users listing. */
// 登录
router.post('/login',user.login);
// 注册
router.post('/register',user.register)
// 查询用户
router.post('/getuser',user.getuser)

module.exports = router;
